export default {
  toViewData: propsConfig => {
    const { maxNum } = propsConfig.restrictions;

    return {
      maxNum: Number(maxNum)
    };
  }
}